package com.example.demo.service.Impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.example.demo.domain.SysIpDanger;
import java.util.List;
import com.example.demo.domain.SysIpDangerExample;
import com.example.demo.mapper.SysIpDangerMapper;
import com.example.demo.service.SysIpDangerService;
@Service
public class SysIpDangerServiceImpl implements SysIpDangerService{

    @Resource
    private SysIpDangerMapper sysIpDangerMapper;

    @Override
    public long countByExample(SysIpDangerExample example) {
        return sysIpDangerMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(SysIpDangerExample example) {
        return sysIpDangerMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return sysIpDangerMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(SysIpDanger record) {
        return sysIpDangerMapper.insert(record);
    }

    @Override
    public int insertSelective(SysIpDanger record) {
        return sysIpDangerMapper.insertSelective(record);
    }

    @Override
    public List<SysIpDanger> selectByExample(SysIpDangerExample example) {
        return sysIpDangerMapper.selectByExample(example);
    }

    @Override
    public SysIpDanger selectByPrimaryKey(Long id) {
        return sysIpDangerMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(SysIpDanger record,SysIpDangerExample example) {
        return sysIpDangerMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(SysIpDanger record,SysIpDangerExample example) {
        return sysIpDangerMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(SysIpDanger record) {
        return sysIpDangerMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SysIpDanger record) {
        return sysIpDangerMapper.updateByPrimaryKey(record);
    }

}
